package com.wzy.portfolio.model;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Schema(description = "股票回测查询条件")
@Data
public class BacktestYieldDto {

    @Schema(description = "回测点位", requiredMode = Schema.RequiredMode.AUTO, defaultValue = "40")
    private double rate;

    @Schema(description = "涨还是跌", requiredMode = Schema.RequiredMode.AUTO, defaultValue = "跌")
    private String fx;

    @Schema(description = "财务状况 1:盈利 2不限", requiredMode = Schema.RequiredMode.AUTO, defaultValue = "不限/盈利")
    private String reportStatus = "不限";

    @Schema(description = "开始日期", requiredMode = Schema.RequiredMode.AUTO, defaultValue = "2025-05-01")
    private String startDate ;

    @Schema(description = "结束日期", requiredMode = Schema.RequiredMode.AUTO, defaultValue = "2025-08-25")
    private String endDate ;

}
